<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Bluetooth Host Stack Library: Utilities</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Bluetooth Host Stack Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('group__wicedbt__utility.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Utilities<div class="ingroups"><a class="el" href="group__wicedbt___device_management.html">Device Management</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<p>wicedbt_DeviceManagement </p>
<p>This sections provides Bluetooth utilities functions related to trace, local bda, tx power etc. </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga6f76de78537f24e047f4b95c6fb91ff8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__utility.html#ga6f76de78537f24e047f4b95c6fb91ff8">wiced_bt_dev_register_hci_trace</a> (<a class="el" href="group__wicedbt___device_management.html#ga8b6fbcab797b63e5fa1b9eaa99a229c3">wiced_bt_hci_trace_cback_t</a> *p_cback)</td></tr>
<tr class="memdesc:ga6f76de78537f24e047f4b95c6fb91ff8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register to get the hci traces.  <a href="#ga6f76de78537f24e047f4b95c6fb91ff8">More...</a><br /></td></tr>
<tr class="separator:ga6f76de78537f24e047f4b95c6fb91ff8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac69677337b7352c0e3cc34d1af85ba01"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__utility.html#gac69677337b7352c0e3cc34d1af85ba01">wiced_bt_dev_update_hci_trace_mode</a> (<a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> enable)</td></tr>
<tr class="memdesc:gac69677337b7352c0e3cc34d1af85ba01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the hci trace mode.  <a href="#gac69677337b7352c0e3cc34d1af85ba01">More...</a><br /></td></tr>
<tr class="separator:gac69677337b7352c0e3cc34d1af85ba01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae3115ce3e502177c0486fd6782810c7e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__utility.html#gae3115ce3e502177c0486fd6782810c7e">wiced_bt_dev_update_debug_trace_mode</a> (<a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> enable)</td></tr>
<tr class="memdesc:gae3115ce3e502177c0486fd6782810c7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the debug trace mode.  <a href="#gae3115ce3e502177c0486fd6782810c7e">More...</a><br /></td></tr>
<tr class="separator:gae3115ce3e502177c0486fd6782810c7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga48386d791ced8eaae6bd6cd8f7e3afc2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__utility.html#ga48386d791ced8eaae6bd6cd8f7e3afc2">wiced_bt_set_local_bdaddr</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr, <a class="el" href="group__bt__types.html#ga97897f7408c23723933e9d21815c7294">wiced_bt_ble_address_type_t</a> addr_type)</td></tr>
<tr class="memdesc:ga48386d791ced8eaae6bd6cd8f7e3afc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set Local Bluetooth Device Address.  <a href="#ga48386d791ced8eaae6bd6cd8f7e3afc2">More...</a><br /></td></tr>
<tr class="separator:ga48386d791ced8eaae6bd6cd8f7e3afc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga72399cc62f66677f343ab63c13d12f80"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__utility.html#ga72399cc62f66677f343ab63c13d12f80">wiced_bt_dev_get_role</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> remote_bd_addr, <a class="el" href="group__wicedbt___device_management.html#ga2d19551672148cfd9e6ebee4d4a1dcec">wiced_bt_dev_role_t</a> *p_role, <a class="el" href="group__bt__types.html#gae0d25ec063a889c537f3a77010cf5ef0">wiced_bt_transport_t</a> transport)</td></tr>
<tr class="memdesc:ga72399cc62f66677f343ab63c13d12f80"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called to get the role of the local device for the ACL connection with the specified remote device.  <a href="#ga72399cc62f66677f343ab63c13d12f80">More...</a><br /></td></tr>
<tr class="separator:ga72399cc62f66677f343ab63c13d12f80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae95344797140c44aa120d34957a576b3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__utility.html#gae95344797140c44aa120d34957a576b3">wiced_bt_set_pairable_mode</a> (uint8_t allow_pairing, uint8_t connect_only_paired)</td></tr>
<tr class="memdesc:gae95344797140c44aa120d34957a576b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable or disable pairing.  <a href="#gae95344797140c44aa120d34957a576b3">More...</a><br /></td></tr>
<tr class="separator:gae95344797140c44aa120d34957a576b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga47d967c6345178460a13cbcb9bebebd0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__utility.html#ga47d967c6345178460a13cbcb9bebebd0">wiced_bt_dev_register_vse_callback</a> (<a class="el" href="group__wicedbt___device_management.html#gaebf936e45cd2f486d498dbd36ba8f479">wiced_bt_dev_vse_callback_t</a> cb)</td></tr>
<tr class="memdesc:ga47d967c6345178460a13cbcb9bebebd0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Application can register Vendor-Specific HCI event callback.  <a href="#ga47d967c6345178460a13cbcb9bebebd0">More...</a><br /></td></tr>
<tr class="separator:ga47d967c6345178460a13cbcb9bebebd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga10e6d57bbd051aaf42815071f6631d6f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__utility.html#ga10e6d57bbd051aaf42815071f6631d6f">wiced_bt_dev_deregister_vse_callback</a> (<a class="el" href="group__wicedbt___device_management.html#gaebf936e45cd2f486d498dbd36ba8f479">wiced_bt_dev_vse_callback_t</a> cb)</td></tr>
<tr class="memdesc:ga10e6d57bbd051aaf42815071f6631d6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Application can deregister Vendor-Specific HCI event callback.  <a href="#ga10e6d57bbd051aaf42815071f6631d6f">More...</a><br /></td></tr>
<tr class="separator:ga10e6d57bbd051aaf42815071f6631d6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4ab6381d133e991f9e7472c54e0be605"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_bt_dev_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__utility.html#ga4ab6381d133e991f9e7472c54e0be605">wiced_bt_dev_link_quality_stats</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bda, <a class="el" href="group__bt__types.html#gae0d25ec063a889c537f3a77010cf5ef0">wiced_bt_transport_t</a> transport, uint8_t action, <a class="el" href="group__wicedbt__dev__utils.html#ga2ebace7053dc297ea21b0e97cd0b1ce3">wiced_bt_dev_cmpl_cback_t</a> *p_cback)</td></tr>
<tr class="memdesc:ga4ab6381d133e991f9e7472c54e0be605"><td class="mdescLeft">&#160;</td><td class="mdescRight">This API is called to get the statistics for an ACL link.  <a href="#ga4ab6381d133e991f9e7472c54e0be605">More...</a><br /></td></tr>
<tr class="separator:ga4ab6381d133e991f9e7472c54e0be605"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga64dfd240a1692bda95b165debe50e75a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__utility.html#ga64dfd240a1692bda95b165debe50e75a">wiced_bt_dev_bdaddr_is_local</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr)</td></tr>
<tr class="memdesc:ga64dfd240a1692bda95b165debe50e75a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify if the given bd_addr matches with the local bd_addr.  <a href="#ga64dfd240a1692bda95b165debe50e75a">More...</a><br /></td></tr>
<tr class="separator:ga64dfd240a1692bda95b165debe50e75a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac583c58d75ba49a87d93d597b5929d70"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__utility.html#gac583c58d75ba49a87d93d597b5929d70">wiced_bt_dev_bdaddr_is_same</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr_1, <a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr_2)</td></tr>
<tr class="memdesc:gac583c58d75ba49a87d93d597b5929d70"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compare two BD address.  <a href="#gac583c58d75ba49a87d93d597b5929d70">More...</a><br /></td></tr>
<tr class="separator:gac583c58d75ba49a87d93d597b5929d70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabbd5bdae426ef64bcf1c95a7104cb168"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__utility.html#gabbd5bdae426ef64bcf1c95a7104cb168">wiced_bt_dev_is_address_resolution_enabled</a> (void)</td></tr>
<tr class="memdesc:gabbd5bdae426ef64bcf1c95a7104cb168"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is controller address resolution enabled.  <a href="#gabbd5bdae426ef64bcf1c95a7104cb168">More...</a><br /></td></tr>
<tr class="separator:gabbd5bdae426ef64bcf1c95a7104cb168"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae3954c261d4a338d418de224ddd6a5d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__utility.html#gae3954c261d4a338d418de224ddd6a5d5">wiced_bt_dev_is_privacy_supported</a> (void)</td></tr>
<tr class="memdesc:gae3954c261d4a338d418de224ddd6a5d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is device privacy supported.  <a href="#gae3954c261d4a338d418de224ddd6a5d5">More...</a><br /></td></tr>
<tr class="separator:gae3954c261d4a338d418de224ddd6a5d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2a696a0aea3036f05e49616e2e180a82"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__utility.html#ga2a696a0aea3036f05e49616e2e180a82">wiced_bt_dev_set_no_smp_on_br</a> (<a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> mode)</td></tr>
<tr class="memdesc:ga2a696a0aea3036f05e49616e2e180a82"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function turns OFF/ON SMP over BR/EDR (i.e.  <a href="#ga2a696a0aea3036f05e49616e2e180a82">More...</a><br /></td></tr>
<tr class="separator:ga2a696a0aea3036f05e49616e2e180a82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga449c0b615910dc6de36b15b870c1d920"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__utility.html#ga449c0b615910dc6de36b15b870c1d920">wiced_bt_set_tx_power</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr, int8_t power, <a class="el" href="group__wicedbt__dev__utils.html#ga5efde2f4a4954a99dc729af308ce90bf">wiced_bt_dev_vendor_specific_command_complete_cback_t</a> *p_cb)</td></tr>
<tr class="memdesc:ga449c0b615910dc6de36b15b870c1d920"><td class="mdescLeft">&#160;</td><td class="mdescRight">Command to set the tx power on link This command will adjust the transmit power attenuation on a per connection basis.  <a href="#ga449c0b615910dc6de36b15b870c1d920">More...</a><br /></td></tr>
<tr class="separator:ga449c0b615910dc6de36b15b870c1d920"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4f14854ca88222ae7cace8fdf89242b3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__utility.html#ga4f14854ca88222ae7cace8fdf89242b3">wiced_bt_set_transmit_power_range</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr, int8_t max_tx_power, int8_t min_tx_power, <a class="el" href="group__wicedbt__dev__utils.html#ga5efde2f4a4954a99dc729af308ce90bf">wiced_bt_dev_vendor_specific_command_complete_cback_t</a> *p_cb)</td></tr>
<tr class="memdesc:ga4f14854ca88222ae7cace8fdf89242b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Command to set the range of transmit power on the link This command will set minimum and maximum values for transmit power on a per connection basis.  <a href="#ga4f14854ca88222ae7cace8fdf89242b3">More...</a><br /></td></tr>
<tr class="separator:ga4f14854ca88222ae7cace8fdf89242b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga48a580210a970a52c39fca816ccfd0d7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__utility.html#ga48a580210a970a52c39fca816ccfd0d7">wiced_bt_dev_read_tx_power</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> remote_bda, <a class="el" href="group__bt__types.html#gae0d25ec063a889c537f3a77010cf5ef0">wiced_bt_transport_t</a> transport, <a class="el" href="group__wicedbt__dev__utils.html#ga2ebace7053dc297ea21b0e97cd0b1ce3">wiced_bt_dev_cmpl_cback_t</a> *p_cback)</td></tr>
<tr class="memdesc:ga48a580210a970a52c39fca816ccfd0d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read the transmit power for the requested link.  <a href="#ga48a580210a970a52c39fca816ccfd0d7">More...</a><br /></td></tr>
<tr class="separator:ga48a580210a970a52c39fca816ccfd0d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga6f76de78537f24e047f4b95c6fb91ff8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6f76de78537f24e047f4b95c6fb91ff8">&#9670;&nbsp;</a></span>wiced_bt_dev_register_hci_trace()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wiced_bt_dev_register_hci_trace </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__wicedbt___device_management.html#ga8b6fbcab797b63e5fa1b9eaa99a229c3">wiced_bt_hci_trace_cback_t</a> *&#160;</td>
          <td class="paramname"><em>p_cback</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Register to get the hci traces. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_cback</td><td>: Callback for hci traces</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>

</div>
</div>
<a id="gac69677337b7352c0e3cc34d1af85ba01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac69677337b7352c0e3cc34d1af85ba01">&#9670;&nbsp;</a></span>wiced_bt_dev_update_hci_trace_mode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wiced_bt_dev_update_hci_trace_mode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td>
          <td class="paramname"><em>enable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Update the hci trace mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">enable</td><td>: TRUE to enable HCI traces, FALSE to disable</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>

</div>
</div>
<a id="gae3115ce3e502177c0486fd6782810c7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae3115ce3e502177c0486fd6782810c7e">&#9670;&nbsp;</a></span>wiced_bt_dev_update_debug_trace_mode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wiced_bt_dev_update_debug_trace_mode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td>
          <td class="paramname"><em>enable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Update the debug trace mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">enable</td><td>: TRUE to enable debug traces, FALSE to disable</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>

</div>
</div>
<a id="ga48386d791ced8eaae6bd6cd8f7e3afc2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga48386d791ced8eaae6bd6cd8f7e3afc2">&#9670;&nbsp;</a></span>wiced_bt_set_local_bdaddr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_bt_set_local_bdaddr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#ga97897f7408c23723933e9d21815c7294">wiced_bt_ble_address_type_t</a>&#160;</td>
          <td class="paramname"><em>addr_type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set Local Bluetooth Device Address. </p>
<p>The application has to set a valid address (Static/Random) by calling this function.<br />
If this function is not called, the default address is typically a controller assigned address(Bluetooth device part number), which is same for particular device type.For example, all CYW43012 devcies will typically have the same default address.</p>
<p>The application can set a non-resolvable or static random address by setting the addr_type to <a class="el" href="group__bt__types.html#ga9e3dbc812e83ed3d950980bf5f09d332">BLE_ADDR_RANDOM</a>. For non-resolvable addresses the top two bits of the bd_addr shall be set to 'b00' and atleast one of the remaining 46 shall be non-zero. For static random addresses the top two bits of the bd_addr are required to be 'b11' and atleast one of the remaining 46 shall be non-zero.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: device address to use </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>bd_addr[0] is the MSB, for non-resolvable address, set bd_addr[0] &amp;= ~0xC0 for static random address, set bd_addr[0] |= 0xC0 </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">addr_type</td><td>: device address type , should be BLE_ADDR_RANDOM or BLE_ADDR_PUBLIC <br />
 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>wiced_result_t</dd></dl>
<p>WICED_BT_ILLEGAL_VALUE : if invalid device address specified <br />
WICED_BT_NO_RESOURCES : if couldn't allocate memory to issue command <br />
WICED_BT_SUCCESS : if local bdaddr is set successfully <br />
 </p><dl class="section note"><dt>Note</dt><dd>BD_Address must be in Big Endian format</dd></dl>
<p>Example: </p><pre>    Data         | AB | CD | EF | 01 | 23 | 45 | </pre> <pre>    Address      | 0  | 1  | 2  | 3  | 4  | 5  | </pre><p> For above example it will set AB:CD:EF:01:23:45 bd address </p>

</div>
</div>
<a id="ga72399cc62f66677f343ab63c13d12f80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga72399cc62f66677f343ab63c13d12f80">&#9670;&nbsp;</a></span>wiced_bt_dev_get_role()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_bt_dev_get_role </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>remote_bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__wicedbt___device_management.html#ga2d19551672148cfd9e6ebee4d4a1dcec">wiced_bt_dev_role_t</a> *&#160;</td>
          <td class="paramname"><em>p_role</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gae0d25ec063a889c537f3a77010cf5ef0">wiced_bt_transport_t</a>&#160;</td>
          <td class="paramname"><em>transport</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is called to get the role of the local device for the ACL connection with the specified remote device. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">remote_bd_addr</td><td>: BD address of remote device </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">transport</td><td>: BT_TRANSPORT_BR_EDR or BT_TRANSPORT_LE</td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">p_role</td><td>: Role of the local device</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>WICED_BT_UNKNOWN_ADDR if no active link with bd addr specified </dd></dl>

</div>
</div>
<a id="gae95344797140c44aa120d34957a576b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae95344797140c44aa120d34957a576b3">&#9670;&nbsp;</a></span>wiced_bt_set_pairable_mode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wiced_bt_set_pairable_mode </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>allow_pairing</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>connect_only_paired</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enable or disable pairing. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">allow_pairing</td><td>: (TRUE or FALSE) whether or not the device allows pairing. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">connect_only_paired</td><td>: (TRUE or FALSE) whether or not to only allow paired devices to connect. <b> Applicable only for BR/EDR </b></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>

</div>
</div>
<a id="ga47d967c6345178460a13cbcb9bebebd0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga47d967c6345178460a13cbcb9bebebd0">&#9670;&nbsp;</a></span>wiced_bt_dev_register_vse_callback()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_bt_dev_register_vse_callback </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__wicedbt___device_management.html#gaebf936e45cd2f486d498dbd36ba8f479">wiced_bt_dev_vse_callback_t</a>&#160;</td>
          <td class="paramname"><em>cb</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Application can register Vendor-Specific HCI event callback. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cb</td><td>: callback function to register</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>WICED_SUCCESS WICED_ERROR if out of usage </dd></dl>

</div>
</div>
<a id="ga10e6d57bbd051aaf42815071f6631d6f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga10e6d57bbd051aaf42815071f6631d6f">&#9670;&nbsp;</a></span>wiced_bt_dev_deregister_vse_callback()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_bt_dev_deregister_vse_callback </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__wicedbt___device_management.html#gaebf936e45cd2f486d498dbd36ba8f479">wiced_bt_dev_vse_callback_t</a>&#160;</td>
          <td class="paramname"><em>cb</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Application can deregister Vendor-Specific HCI event callback. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cb</td><td>: callback function to deregister</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>WICED_SUCCESS WICED_ERROR if the input callback function was not registered yet </dd></dl>

</div>
</div>
<a id="ga4ab6381d133e991f9e7472c54e0be605"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4ab6381d133e991f9e7472c54e0be605">&#9670;&nbsp;</a></span>wiced_bt_dev_link_quality_stats()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_bt_dev_status_t</a> wiced_bt_dev_link_quality_stats </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bda</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gae0d25ec063a889c537f3a77010cf5ef0">wiced_bt_transport_t</a>&#160;</td>
          <td class="paramname"><em>transport</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>action</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__wicedbt__dev__utils.html#ga2ebace7053dc297ea21b0e97cd0b1ce3">wiced_bt_dev_cmpl_cback_t</a> *&#160;</td>
          <td class="paramname"><em>p_cback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This API is called to get the statistics for an ACL link. </p>
<p>Limitation This API works when there is only one ACL connection</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bda</td><td>: bluetooth device address of desired link quality statistics </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">transport</td><td>: Tranport type LE/BR-EDR </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">action</td><td>: WICED_CLEAR_LINK_QUALITY_STATS = reset the link quality statistics to 0, WICED_READ_LINK_QUALITY_STATS = read link quality statistics, WICED_READ_THEN_CLEAR_LINK_QUALITY_STATS = read link quality statistics, then clear it </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_cback</td><td>: Result callback (<a class="el" href="group__wicedbt__dev__utils.html#ga2ebace7053dc297ea21b0e97cd0b1ce3" title="Asynchronous operation complete callback.">wiced_bt_dev_cmpl_cback_t</a> will be passed to the callback)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p><b> WICED_BT_SUCCESS </b> : If successful <br />
<b> WICED_BT_PENDING </b> : If command succesfully sent down <br />
<b> WICED_BT_BUSY </b> : If already in progress <br />
<b> WICED_BT_NO_RESORCES </b> : If no memory/buffers available to sent down to controller <br />
<b> WICED_BT_UNKNOWN_ADDR </b> : If given BD_ADDRESS is invalid <br />
 </p><dl class="section note"><dt>Note</dt><dd>Callback function argument is a pointer of type <a class="el" href="structwiced__bt__lq__stats__result__t.html" title="LQ Quality Result (in response to wiced_bt_dev_lq_stats)">wiced_bt_lq_stats_result_t</a> </dd></dl>

</div>
</div>
<a id="ga64dfd240a1692bda95b165debe50e75a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga64dfd240a1692bda95b165debe50e75a">&#9670;&nbsp;</a></span>wiced_bt_dev_bdaddr_is_local()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_dev_bdaddr_is_local </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Verify if the given bd_addr matches with the local bd_addr. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: remote bd address</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if bd_addr is same as local_bd_addr,FALSE otherwise </dd></dl>

</div>
</div>
<a id="gac583c58d75ba49a87d93d597b5929d70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac583c58d75ba49a87d93d597b5929d70">&#9670;&nbsp;</a></span>wiced_bt_dev_bdaddr_is_same()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_dev_bdaddr_is_same </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr_1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr_2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compare two BD address. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr_1</td><td>: bd address </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr_2</td><td>: bd address to be compared with bd_addr_1</td></tr>
  </table>
  </dd>
</dl>
<p>Returns TRUE if both bd_addr are same, FALSE if different </p>

</div>
</div>
<a id="gabbd5bdae426ef64bcf1c95a7104cb168"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabbd5bdae426ef64bcf1c95a7104cb168">&#9670;&nbsp;</a></span>wiced_bt_dev_is_address_resolution_enabled()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_dev_is_address_resolution_enabled </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Is controller address resolution enabled. </p>
<p>Returns TRUE if enabled </p>

</div>
</div>
<a id="gae3954c261d4a338d418de224ddd6a5d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae3954c261d4a338d418de224ddd6a5d5">&#9670;&nbsp;</a></span>wiced_bt_dev_is_privacy_supported()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_dev_is_privacy_supported </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Is device privacy supported. </p>
<p>Returns TRUE if supported </p>

</div>
</div>
<a id="ga2a696a0aea3036f05e49616e2e180a82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2a696a0aea3036f05e49616e2e180a82">&#9670;&nbsp;</a></span>wiced_bt_dev_set_no_smp_on_br()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wiced_bt_dev_set_no_smp_on_br </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function turns OFF/ON SMP over BR/EDR (i.e. </p>
<p>link keys crosspairing SC BR/EDR-&gt;SC LE) for the remote device. If mode is set to TRUE then the crosspairing will not happen.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>: Set to TRUE to disable support for smp on br.</td></tr>
  </table>
  </dd>
</dl>
<p>Returns void </p>

</div>
</div>
<a id="ga449c0b615910dc6de36b15b870c1d920"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga449c0b615910dc6de36b15b870c1d920">&#9670;&nbsp;</a></span>wiced_bt_set_tx_power()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_bt_set_tx_power </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int8_t&#160;</td>
          <td class="paramname"><em>power</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__wicedbt__dev__utils.html#ga5efde2f4a4954a99dc729af308ce90bf">wiced_bt_dev_vendor_specific_command_complete_cback_t</a> *&#160;</td>
          <td class="paramname"><em>p_cb</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Command to set the tx power on link This command will adjust the transmit power attenuation on a per connection basis. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: peer address To set Adv Tx power keep bd_addr NULL </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">power</td><td>: power value in db </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_cb</td><td>: Result callback (<a class="el" href="structwiced__bt__set__adv__tx__power__result__t.html" title="TX Power Result (in response to wiced_bt_ble_set_adv_tx_power)">wiced_bt_set_adv_tx_power_result_t</a> will be passed to the callback)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>wiced_result_t </dd></dl>

</div>
</div>
<a id="ga4f14854ca88222ae7cace8fdf89242b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4f14854ca88222ae7cace8fdf89242b3">&#9670;&nbsp;</a></span>wiced_bt_set_transmit_power_range()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_bt_set_transmit_power_range </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int8_t&#160;</td>
          <td class="paramname"><em>max_tx_power</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int8_t&#160;</td>
          <td class="paramname"><em>min_tx_power</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__wicedbt__dev__utils.html#ga5efde2f4a4954a99dc729af308ce90bf">wiced_bt_dev_vendor_specific_command_complete_cback_t</a> *&#160;</td>
          <td class="paramname"><em>p_cb</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Command to set the range of transmit power on the link This command will set minimum and maximum values for transmit power on a per connection basis. </p>
<dl class="section note"><dt>Note</dt><dd>This API is supported by generic target of CYW20829B0 and CYW89829B0 controllers only.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: peer address of device </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">max_tx_power</td><td>: maximum power value in db </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">min_tx_power</td><td>: minimum power value in db </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_cb</td><td>: Result callback (<a class="el" href="structwiced__bt__set__transmit__power__range__result__t.html" title="Transmit Power Range Result (in response to wiced_bt_set_transmit_power_range)">wiced_bt_set_transmit_power_range_result_t</a> will be passed to the callback)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>wiced_result_t </dd></dl>

</div>
</div>
<a id="ga48a580210a970a52c39fca816ccfd0d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga48a580210a970a52c39fca816ccfd0d7">&#9670;&nbsp;</a></span>wiced_bt_dev_read_tx_power()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_bt_dev_read_tx_power </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>remote_bda</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gae0d25ec063a889c537f3a77010cf5ef0">wiced_bt_transport_t</a>&#160;</td>
          <td class="paramname"><em>transport</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__wicedbt__dev__utils.html#ga2ebace7053dc297ea21b0e97cd0b1ce3">wiced_bt_dev_cmpl_cback_t</a> *&#160;</td>
          <td class="paramname"><em>p_cback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read the transmit power for the requested link. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">remote_bda</td><td>: BD address of connection to read tx power </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">transport</td><td>: Transport type </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_cback</td><td>: Result callback (<a class="el" href="structwiced__bt__tx__power__result__t.html" title="TX Power Result (in response to wiced_bt_dev_read_tx_power)">wiced_bt_tx_power_result_t</a> will be passed to the callback)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p><b> WICED_BT_PENDING </b> : if command issued to controller. <br />
<b> WICED_BT_NO_RESOURCES </b> : if couldn't allocate memory to issue command <br />
<b> WICED_BT_UNKNOWN_ADDR </b> : if no active link with bd addr specified <br />
<b> WICED_BT_BUSY </b> : if command is already in progress </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>Bluetooth Host Stack Library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
</body>
</html>
